<h2>Query Profile</h2>

<h3><?php echo $this->location; ?></h3>

<?php if ('7.21.0' == $this->curlVersion) { ?>
	<p><strong>NB: This function will currently not work due to a buggy version of Curl (7.21.0) on this server.  As soon as the Curl version changes this message will disappear.</strong></p>
<?php } ?>

<form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
    <textarea id="queryprofile" name="queryprofile"><?php echo $this->data; ?></textarea>
    <input type="hidden" name="location" value="<?php echo $this->location; ?>"/>
    <input id="btnUpdate" type="submit" name="update" value="Update"/>
</form>

